MODULE    = dinput.dll
IMPORTLIB = dinput
IMPORTS   = dinput dxguid uuid comctl32 ole32 user32 advapi32
EXTRADEFS = -DDIRECTINPUT_VERSION=0x0700
EXTRALIBS = $(IOKIT_LIBS) $(FORCEFEEDBACK_LIBS)

C_SRCS = \
	ansi.c \
	config.c \
	data_formats.c \
	device.c \
	dinput_main.c \
	effect_linuxinput.c \
	joystick.c \
	joystick_linux.c \
	joystick_linuxinput.c \
	joystick_osx.c \
	keyboard.c \
	mouse.c

IDL_SRCS = dinput_classes.idl

RC_SRCS = \
	dinput.rc \
	version.rc
